{extend name="homeheader:header"/}
{block name="content"}
	<link rel="stylesheet" type="text/css" href="/home/css/order_dete.css" />
	<body style="overflow-x: hidden;">
		<div class="order_dete">
			<div class="top">
				<a href="javascript:history.back(-1)" class="back">
					<i class="iconfont">&#xe615;</i></a>
				我的订单
			</div>
			<div class="sh row">
				<div class="col-xs-1">
					<i class="iconfont icon-dizhi"></i>
				</div>
				<div class="col-xs-11">
					<p class="row"><span>收货人：</span><span>{$address.a_name}</span><span>{$address.a_tel}</span></p>
					<div class="">
						收货地址：{$address.a_address}
					</div>
					<span>(请确认正确的收货地址)</span>
				</div>
			</div>
			<div class="wrap_bt">
				{foreach name="list['goods']" item="vo"}
					<div class="b_top container row">
						<div class="le col-xs-3">
							<img src="{:getPreviewUrl($vo['g_pic']['photos'][0]['url'])}" />
						</div>
						<div class="col-xs-9">
							<h3>{$vo.g_name}</h3>
							<small>{$vo.g_description}</small>
						</div>
					</div>
					<div class="b_se">
						<p>购买数量</p>
						<ul class="name row">
							<li>规格</li>
							<li>单价</li>
							<li>购买数量</li>
							<li>总价</li>
						</ul>
						<ul class="init row">
							{foreach name="vo['info']" item="v1"}
								<li>{$v1.i_name}</li>
								<li>￥{$v1.i_price}</li>
								<li>{$v1.oi_number}</li>
								<li>￥{$v1.oi_price}</li>
							{/foreach}
						</ul>
					</div>
				{/foreach}
				<div class="mone">
					<p>合计： <span>￥{$list.o_tprice}</span></p>
				</div>
				<div class="info container">
				<p>订单编号： <span>{$list.o_code}</span>
					<p>创建订单： <span>{:date('Y-m-d H:i',$list['addtime'])}</span></p>
					<p>取消时间： <span>{:date('Y-m-d H:i',$list['o_time'])}</span></p>
			</div>
			</div>
			<div class="fx_b">
				<div class="col-xs-6">
					<a href="{:url('/home/user/order')}">
						我的订单
					</a>
				</div>
				<div class="col-xs-6">
					<a href="{:url('/home/index/index')}">
						返回首页
					</a>
				</div>
			</div>
		</div>
	</body>

</html>
{/block}